package com.hs.mapper;

import com.hs.entity.Certificate;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CertificateMapper {
    //添加
    Integer addCertificate(Certificate certificate);
    //删除
    Integer deleteCertificate(Integer id);
    //修改
    Integer updateCertificate(Certificate certificate);
    //根据id查询
    Certificate getCertificateById(Integer id);
//    //分页查询
    List<Certificate> getCertificateByPage(Certificate certificate);
}
